<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>变量的预声明</title>
</head>
<body>
        <script>
            var a =10;
            console.log(a);
        </script>
</body>
</html>